package com.yycwxt.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
@TableName("goodspack")
public class GoodsPack {
    @TableId(type = IdType.AUTO )
    private Integer id;

    @NotNull
    @NotBlank(message = "goodcode不能为空")
    private String goodcode;

    @NotNull
    @NotBlank(message = "packtype不能为空")
    private String packtype;

    @NotNull
    @NotBlank(message = "operatetype不能为空")
    private String operatetype;

    private String remark;
    private LocalDateTime created;
}
